  <div class="layui-footer">
    <!-- 底部固定区域 -->
    <!-- &copy; <a href="http://www.xxx.com" target="_blank">2018-{fun=date('Y')} xxx版权所有.</a> -->
  	<span class="layui-hide-xs">{pboot:runtime}</span>
  </div>
</div>

<script type="text/javascript" src="{APP_THEME_DIR}/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/comm-default.js?v=v2.0.1"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/mylayui.js?v=071102"></script>
<script>
	// 清除缓存
	function clear_common(url,title){
	    layer.confirm(title, {icon: 3, title:'提示'}, function(index){
	        //do something
	        $.ajax({
	            url:url,
	            success:function(data){
	                var data = JSON.parse(data);
	                if (data.code == 1) {
	                	layer.msg(data.data, {
	                	    icon: 1,
	                	    time: 1000 //1秒关闭（如果不配置，默认是3秒）
	                	},function(){
	                		window.location.reload();
	                	    return true;
	                	});
	                } else {
	                    layer.msg(data.data, {icon: 2,time: 1000});
	                }
	            }
	        });
	        layer.close(index);
	    });
	}

	{if([$message_status])}
	//实时获取新增留言数 @mk-message_online
	function online(){
	    $.get('{url./admin/Message/online}',function(data){
	    //   console.log(data);
	        if(data.data > 0){
	            $('.header_message').addClass('cur').find('em').html(data.data);
	        }else{
	            $('.header_message').removeClass('cur').find('em').empty();
	        }
	    }, "json");
	}
	//维持在线，8秒查询一次
	online();
	setInterval(function(){
	    online();
	}, 8000);
	{/if}
</script>
<script>
    function set_url(url){
        $('#iframe_box').attr('src',url);
        return false;
    }

    // var iframe_default = document.getElementById('iframe_box');
    // $(iframe_default.contentWindow.document).ready(function () {
    // 	setTimeout(function(){
    // 		$('#loading').hide();
    // 	},500);
    //     $(iframe_default).show();
    // });
</script>
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
  <script src="https://cdn.bootcdn.net/ajax/libs/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->


</body>
</html>
